package com.demo.read_word.controller;

import com.demo.read_word.service.impl.DifficultyTableServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.servlet.http.HttpServletResponse;

/**
 * @author WJL
 * @version 1.0
 * @date 2023/02/06 13:51
 * @功能描述
 **/
@RestController
@RequestMapping("/order")
public class DifficultyTableController {

    @Autowired
    private DifficultyTableServiceImpl DifficultyTableServiceImpl;

    @GetMapping(value = "down",name="下载订单文档")
    public void test( HttpServletResponse response) throws Exception{
        DifficultyTableServiceImpl.down(response);
    }

}
